home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / FW_CGraphicContextGX question < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB  |  [TEXT/ttxt]

  1. Subject:     FW_CGraphicContextGX question
  2. Sent:        8/3/96 7:38 AM
  3. Received:    8/5/96 8:42 AM
  4. From:        Paul Carleton, pcrlt@walrus.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. The ODF FW_CGraphicContextGX class constructor is *very* slow the first
  9. time the class is instantiated. There is a perceptible delay of about 1/2
  10. to 1 second before the first gx shape is drawn. The odd thing is that
  11. subsequent instantiations of FW_CGraphicContextGX are significantly faster.
  12. The delay seems to occur only the first time after a reboot.
  13.  
  14. I can probably work around the problem by creating a dummy
  15. FW_CGraphicContextGX class object from my part initialization code and then
  16. delete it immediately, however the constructor requires a facet as an
  17. argument. Is there a more elegant solution? 
  18.  
  19. I’ve noticed that the Developer University project GraphicsGX  on OpenDoc
  20. DR5 suffers from the same problem. 
  21.  
  22. Any suggestions?
  23.  
  24. Thank you,
  25. Paul Carleton
  26.  
  27.  
  28.